package sample.tangocho.service;

import sample.tangocho.dataaccess.CardDao;
import sample.tangocho.dataaccess.CardDaoImpl;
import android.content.Context;

public class RemoveCardServiceImpl implements RemoveCardService {


	private CardDao cardDao;

	public RemoveCardServiceImpl(Context context) {

		// TODO DI
		cardDao = new CardDaoImpl(context);
	}

	@Override
	public void removeCard(int cardId) {
		cardDao.deleteCard(cardId);
	}

}
